﻿namespace NetFx.SMIL.References
{
  using System;
  using System.Text;
  using System.Collections;
  using System.Collections.Generic;

  using System.Reflection;
  using System.Reflection.Emit;
  using System.Runtime.InteropServices;

  using System.Diagnostics;
  using System.Diagnostics.CodeAnalysis;
  using System.Diagnostics.SymbolStore;
  using System.Security;
  using System.Security.Permissions;

  using NetFx.MSIL;

  /// <summary>
  /// 对null的引用（常数封装）。
  /// </summary>
  public class NullRef:Reference
  {
    #region Statics
    public static string NullText = "null";

    public new static NullRef it()
    {
      return new NullRef();
    }
    #endregion
    #region Properties
    #endregion
    #region Constructors
    public NullRef() : base(null) 
    {
    }
    #endregion
    #region Methods
    public override string ToString()
    {
      return NullText;
    }
    #endregion
  }
}
